<%@ page language="java" contentType="text/html;charset=UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<%@ include file="/commons/commonList.jsp"%>

<script type="text/javascript">

   function resize(){
		parent.window.document.all('connTabPanel').style.height=document.body.scrollHeight;

	}

	function getOwnerDetail(participantTypeCode,participantID){
	url = "${ctx}/customer_ownerAction.do?method=initOwnerDetailMain&curParticipantTypeCode=" + participantTypeCode+"&curParticipantId="+participantID;
			top.windowOpen(url,"ownerDetail","业主详细信息",610,900,true,"ownerDetail");
	}

</script>
</head>
<body onload="resize();">
<div    class="tab_bgline" >
<div style="overflow:auto; height:320px;">

	  <ec:ceTable items="ownerList"
	action="${ctx}/customer_ownerAction.do?method=getOwnerList"
	var="ownerItem"
	view="pmsview"
	styleClass="gridData2"
	rowsDisplayed="10" >
	<ec:ceRow styleClass="grid"  ondblclick="getOwnerDetail('${ownerItem.participantTypeCode}','${ownerItem.participantId}');">
		<ec:ceColumn headerCell="pmsHeadrCell" title="姓名" property="participantName" sortable="true" width="25%" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="联系电话" property="telephone" sortable="false" width="25%"/>
		<ec:ceColumn headerCell="pmsHeadrCell" title="证件号码" property="certificateNo" sortable="false" width="25%" />
		<ec:ceColumn headerCell="pmsHeadrCell" title="联系地址" property="linkAddress" sortable="false" width="25%" >
		<c:if test="${ownerItem.participantTypeCode=='002'}">${ownerItem.address}</c:if>
		<c:if test="${ownerItem.participantTypeCode=='001'}">${ownerItem.linkAddress}</c:if>
		</ec:ceColumn>
       <ec:parameter name="keyword" value="${keyword}"></ec:parameter>
       <ec:parameter name="proRightId" value="${proRightId}"></ec:parameter>
	</ec:ceRow>
</ec:ceTable>

 </div>
 </div>



</body>
</html>